<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet"
	href="<%=path %>/res/common/css/bootstrap.min.css">
<script src="<%=path %>res/common/js/bootstrap.min.js"></script>
</head>

<body style="margin: 0px">
<body style="position: relative;">
	<table class="table table-striped">
		<tr>
			<th colspan="5" style="text-align: center;">班级信息</th>
		</tr>
		<tr>
			<td colspan="1"><span style="font-weight: bold">班级名称</span></td>
			<td colspan="1"><span>${classname.className}</span></td>
			<td colspan="1">|</td>
			<td colspan="1"><span style="font-weight: bold">班级人数</span></td>
			<td colspan="1"><span>${number}</span></td>
		</tr>
		<tr>
			<td colspan="5"><label for="inputPassword"
				class="col-sm-2 control-label"
				style="line-height: 37px; margin: 0; padding: 0; width: 100px;">班级描述</label>
				<div class="col-sm-8">
					<textarea class="form-control" rows="3" name="classdescribe"
						disabled="disabled">${classname.classDescribe }</textarea>
				</div></td>
		</tr>
	</table>
	
	<table class="table table-striped">
		<tr>
			<th colspan="7" style="text-align: center;">班级成员</th>
		</tr>
		<tr>
			<td>序号</td>
			<td>学生姓名</td>
			<td>博客数量</td>
			<td>粉丝数</td>
			<td>关注数</td>
			<td>操作</td>
		</tr>
		<c:forEach var="vo" items="${list}" varStatus="vs">
			<tr>
				<td>${vs.index+1}</td>
				<td><a href="<%=path %>/stuinformation/${vo.stuId}.do"
					class="sidebar-nav-menu">${vo.stuName}</a></td>
				<td>${vo.blogNumber}</td>
				<td>${vo.stuFans}</td>
				<td>${vo.stuFocus}</td>
				<td><a href="<%=path %>/recordFromStudent/${vo.stuId}.do">TA的数据</a>&nbsp|&nbsp
					<a target="blank" href="${vo.blogAddress}">删除</a>&nbsp|&nbsp <a
					href="<%=path %>/oneCrawler/${vo.stuId }.do">采集</a></td>
			</tr>
		</c:forEach>

	</table>
</body>
</html>
